package com.gopay.common.domain.user.identify;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import com.gopay.common.domain.BaseEntity;

/**
 * 账户付款额度配置表
 * @author zhu liang
 * @date 2016年5月9日
 */
@Entity
@Table(name = "RC_ACCT_PAY_LIMIT")
public class RcAcctPayLimit extends BaseEntity {

	private static final long serialVersionUID = 1L;
	
	private String acctType;
	private BigDecimal acctLimit;
    private String remark;
    private Integer version;
    private String createdOperId;
    private Date createdTs;
    private String lastUpdOperId;
    private Date lastUpdTs;
    
    @Id
    @Column(name = "ACCT_TYPE", length = 2)
	public String getAcctType() {
        return acctType;
    }
    public void setAcctType(String acctType) {
        this.acctType = acctType;
    }
    
    @Column(name = "ACCT_LIMIT", precision = 18, scale = 2)
    public BigDecimal getAcctLimit() {
        return acctLimit;
    }
    public void setAcctLimit(BigDecimal acctLimit) {
        this.acctLimit = acctLimit;
    }
    
    @Column(name="REMARK" ,length = 200)
    public String getRemark() {
        return remark;
    }
    public void setRemark(String remark) {
        this.remark = remark;
    }
    
    @Column(name = "VERSION", precision = 22, scale = 0)
    public Integer getVersion() {
        return version;
    }
    public void setVersion(Integer version) {
        this.version = version;
    }
    
    @Column(name = "CREATED_OPER_ID", length = 10)
    public String getCreatedOperId() {
        return createdOperId;
    }
    public void setCreatedOperId(String createdOperId) {
        this.createdOperId = createdOperId;
    }
    
    @Column(name = "CREATED_TS")
    @Temporal(TemporalType.TIMESTAMP)
    public Date getCreatedTs() {
        return createdTs;
    }
    public void setCreatedTs(Date createdTs) {
        this.createdTs = createdTs;
    }
    
    @Column(name = "LAST_UPD_OPER_ID", length = 10)
    public String getLastUpdOperId() {
        return lastUpdOperId;
    }
    public void setLastUpdOperId(String lastUpdOperId) {
        this.lastUpdOperId = lastUpdOperId;
    }
    
    @Column(name = "LAST_UPD_TS")
    @Temporal(TemporalType.TIMESTAMP)
    public Date getLastUpdTs() {
        return lastUpdTs;
    }
    public void setLastUpdTs(Date lastUpdTs) {
        this.lastUpdTs = lastUpdTs;
    }

	
}
